package com.xy.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author guojian
 */
@ApiModel(value = "身份证核验", description = "身份证核验")
@Data
public class IdCardRequest extends BaseRequest implements Serializable {

	/**
	 * 身份证号
	 */
	@NotNull(message = "身份证号不允许为空")
	@ApiModelProperty(value = "身份证号")
	private String idCard;
	/**
	 * 姓名
	 */
	@NotNull(message = "姓名")
	@ApiModelProperty(value = "姓名")
	private String name;



}
